﻿using SHKF.B2C.Model.Entity.Center;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using WQDSkin.Core.MVVM; 

namespace SHKF.B2C.Mannage.AdminUI.Model
{
    public class ImportViewModel : ViewModelBase
    {
        private int currentValue = 0; 
        /// <summary>
        /// 当前值
        /// </summary>
        public int CurrentValue
        {
            get { return currentValue; }
            set { currentValue = value;
                base.OnPropertyChanged("CurrentValue");
            }
        }

        private int total; 
        public int Total
        {
            get { return total; }
            set { total = value;
                base.OnPropertyChanged("Total");
            }
        }

        private ObservableCollection<ProductInfoViewModel> products = new ObservableCollection<ProductInfoViewModel>(); 
        public ObservableCollection<ProductInfoViewModel> Products
        {
            get { return products; }
            set { products = value;
                base.OnPropertyChanged("Products");
            }
        }

        private CompanyEntity company; 
        public CompanyEntity Company
        {
            get { return company; }
            set { company = value; }
        }

    }
}
